#!/bin/bash

result=0
number=100

for i in $(seq $number); do
    result=$[$result+$i]
done

echo $result
